﻿using SDF.Plugin.Misc.DynamicEntity.Domain.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SDF.Plugin.Misc.DynamicEntity.Domain
{
    public class DynamicEntityItem : DEEntityBase
    {
        public int HeaderId { get; set; }

        public virtual DynamicEntityHeader Header { get; set; }

        public EntityFieldTypeEnum FieldType { get; set; }

        public int FieldLength { get; set; }

        public string DefaultValue { get; set; }

        public ParamDirectionEnum ParamDirection { get; set; }

        //public bool IsStruct { get; set; }

        public virtual DynamicEntityHeader ReferenceEntity { get; set; }

        public int SortNo { get; set; }
    }
}